// 页面请求
(function() {
  var User, config, express, log4js, logger, router;

  config = require('config');

  express = require('express');

  router = express.Router();

  log4js = require('log4js');

  logger = log4js.getLogger('main');

  router.get('', function(req, res, next) {
    var data = {
      msg: "hello, world!",
      tip: "请求成功"
    };
    return res.render('app/main', data);
  });

  module.exports = router;

}).call(this);
